<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>出行搭子网站</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>

<div class="container">
    <h1>出行搭子平台</h1>

    <div class="stickies-container">
        <h2>现有便签</h2>
        <!-- 动态生成的便签将插入这里 -->
        <div class="sticky" data-sticky-id="1">
            <p>出发：北京 - 目的地：上海 - 时间：2023-04-10 08:00 - 方式：自驾 - 性别：不限</p>
            <button class="join-sticky">加入</button>
        </div>
        <!-- 更多便签... -->
    </div>

    <div class="create-sticky-form">
        <h2>创建搭子便签</h2>
        <form id="create-sticky">
            <label for="departure">出发地点:</label>
            <input type="text" id="departure" name="departure" required>

            <label for="destination">目的地:</label>
            <input type="text" id="destination" name="destination" required>

            <label for="time">出行时间:</label>
            <input type="datetime-local" id="time" name="time" required>

            <label for="travel-method">出行方式:</label>
            <select id="travel-method" name="travel-method">
                <option value="car">自驾</option>
                <option value="public">公交/地铁</option>
                <option value="cab">打车</option>
            </select>

            <label for="gender">性别:</label>
            <select id="gender" name="gender">
                <option value="male">男</option>
                <option value="female">女</option>
                <option value="other">其他</option>
            </select>

            <button type="submit">创建便签</button>
        </form>
    </div>
</div>

<script src="script.js"></script>
</body>
</html>